<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>textbox demo </title>
<style>
    .duplexText {
        padding: 100px 10px 20px 10px;
        line-height: 30px;
        border: 1px solid #ccc;
    }
    h1 {
        text-align: center;
    }
</style>
</head>
<body class="ms-controller" ms-controller="demo">
    
    <input type="text" id="test">
    <!-- 说明，这种方式使用的suggest必须将其作为body的直接子元素 -->
    <div class="oni-textbox-suggest" ms-widget = "suggest" data-suggest-input-element="test">
    </div>

    <script src="../avalon.js"></script>
    <script>
        require(["textbox/avalon.suggest"], function() {
            avalon.define('demo',function(vm){
                
            });

            avalon.scan();
        })
    </script>
</body>
</html>

